package com.zrx.govern.component.easyexcel.starter.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zhangxiaowei
 * @desc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ExcelField {

    private String fieldName;

    private String fieldEnName;

    private Integer index;
    /**
     * 列宽 默认15
     */
    private Integer width = 15;
    /**
     * 字段格式设置
     */
    private String format;
    /**
     * 字段数据类型 默认为字符串
     */
    private String dataType = "string";
}
